home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK1.toast / Development Kits (Disc 1) / Interfaces&Libraries / Interfaces / AIncludes / TerminalTools.a < prev    next >
Encoding:
Text File  |  1996-01-24  |  3.4 KB  |  124 lines  |  [TEXT/MPS ]

  1. ;
  2. ;    File:        TerminalTools.a
  3. ;
  4. ;    Contains:    Communications Toolbox Terminal tools Interfaces.
  5. ;
  6. ;    Version:    Technology:    System 7.5
  7. ;                Package:    Universal Interfaces 2.2 in “MPW” on ETO #20
  8. ;
  9. ;    Copyright:    © 1984-1995 by Apple Computer, Inc.
  10. ;                All rights reserved.
  11. ;
  12. ;    Bugs?:        If you find a problem with this file, use the Apple Bug Reporter
  13. ;                stack.  Include the file and version information (from above)
  14. ;                in the problem description and send to:
  15. ;                    Internet:    apple.bugs@applelink.apple.com
  16. ;                    AppleLink:    APPLE.BUGS
  17. ;
  18. ;
  19.  
  20.     IF &TYPE('__TERMINALTOOLS__') = 'UNDEFINED' THEN
  21. __TERMINALTOOLS__ SET 1
  22.  
  23.  
  24.     IF &TYPE('__DIALOGS__') = 'UNDEFINED' THEN
  25.     include 'Dialogs.a'
  26.     ENDIF
  27. ;        include 'Errors.a'                                            ;
  28. ;            include 'ConditionalMacros.a'                            ;
  29. ;        include 'Memory.a'                                            ;
  30. ;            include 'Types.a'                                        ;
  31. ;            include 'MixedMode.a'                                    ;
  32. ;        include 'Menus.a'                                            ;
  33. ;            include 'Quickdraw.a'                                    ;
  34. ;                include 'QuickdrawText.a'                            ;
  35. ;        include 'Controls.a'                                        ;
  36. ;        include 'Windows.a'                                        ;
  37. ;            include 'Events.a'                                        ;
  38. ;                include 'OSUtils.a'                                ;
  39. ;        include 'TextEdit.a'                                        ;
  40.  
  41.     IF &TYPE('__TERMINALS__') = 'UNDEFINED' THEN
  42.     include 'Terminals.a'
  43.     ENDIF
  44. ;        include 'CTBUtilities.a'                                    ;
  45. ;            include 'StandardFile.a'                                ;
  46. ;                include 'Files.a'                                    ;
  47. ;                    include 'Finder.a'                                ;
  48. ;            include 'AppleTalk.a'                                    ;
  49. ;        include 'Connections.a'                                    ;
  50.  
  51. tdefType                        EQU        'tdef'
  52. tvalType                        EQU        'tval'
  53. tsetType                        EQU        'tset'
  54. tlocType                        EQU        'tloc'
  55. tscrType                        EQU        'tscr'
  56. tbndType                        EQU        'tbnd'
  57. tverType                        EQU        'vers'
  58. ; messages 
  59. tmInitMsg                        EQU        0
  60. tmDisposeMsg                    EQU        1
  61. tmSuspendMsg                    EQU        2
  62. tmResumeMsg                        EQU        3
  63. tmMenuMsg                        EQU        4
  64. tmEventMsg                        EQU        5
  65. tmActivateMsg                    EQU        6
  66. tmDeactivateMsg                    EQU        7
  67. tmGetErrorStringMsg                EQU        8
  68. tmIdleMsg                        EQU        50
  69. tmResetMsg                        EQU        51
  70. tmKeyMsg                        EQU        100
  71. tmStreamMsg                        EQU        101
  72. tmResizeMsg                        EQU        102
  73. tmUpdateMsg                        EQU        103
  74. tmClickMsg                        EQU        104
  75. tmGetSelectionMsg                EQU        105
  76. tmSetSelectionMsg                EQU        106
  77. tmScrollMsg                        EQU        107
  78. tmClearMsg                        EQU        108
  79.  
  80. tmGetLineMsg                    EQU        109
  81. tmPaintMsg                        EQU        110
  82. tmCursorMsg                        EQU        111
  83. tmGetEnvironsMsg                EQU        112
  84. tmDoTermKeyMsg                    EQU        113
  85. tmCountTermKeysMsg                EQU        114
  86. tmGetIndTermKeyMsg                EQU        115
  87. ; messages for validate DefProc    
  88. tmValidateMsg                    EQU        0
  89. tmDefaultMsg                    EQU        1
  90. ; messages for Setup DefProc    
  91. tmSpreflightMsg                    EQU        0
  92. tmSsetupMsg                        EQU        1
  93. tmSitemMsg                        EQU        2
  94. tmSfilterMsg                    EQU        3
  95. tmScleanupMsg                    EQU        4
  96. ; messages for scripting defProc    
  97. tmMgetMsg                        EQU        0
  98. tmMsetMsg                        EQU        1
  99. ; messages for localization defProc  
  100. tmL2English                        EQU        0
  101. tmL2Intl                        EQU        1
  102.  
  103. ; typedef struct TMSearchBlock  TMSearchBlock, *TMSearchBlockPtr
  104. TMSearchBlock             RECORD    0
  105. theString                 ds.l   1        ; offset: $0 (0)
  106. where                     ds     Rect    ; offset: $4 (4)
  107. searchType                 ds.w   1        ; offset: $C (12)
  108. callBack                 ds.l   1        ; offset: $E (14)
  109. refnum                     ds.w   1        ; offset: $12 (18)
  110. next                     ds.l   1        ; offset: $14 (20)
  111. sizeof                     EQU *            ; size:   $18 (24)
  112.                         ENDR
  113.  
  114. ; typedef struct TMSetupStruct  TMSetupStruct, *TMSetupPtr
  115. TMSetupStruct             RECORD    0
  116. theDialog                 ds.l   1        ; offset: $0 (0)
  117. count                     ds.w   1        ; offset: $4 (4)
  118. theConfig                 ds.l   1        ; offset: $6 (6)
  119. procID                     ds.w   1        ; offset: $A (10)        ; procID of the tool 
  120. sizeof                     EQU *            ; size:   $C (12)
  121.                         ENDR
  122.  
  123.     ENDIF ; __TERMINALTOOLS__
  124.